package com.demo.mantis.model;

import org.apache.ibatis.type.Alias;

@Alias("Book")
public class Book {
	private int id;
	private String name;
	private String isbn;
	private String author;
	private float price;
	private String press;
	
	public Book() {}
	
	public Book(String name, String isbn, String author, float price) {
		this.name = name;
		this.isbn = isbn;
		this.author = author;
		this.price = price;
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getIsbn() {
		return isbn;
	}
	public void setIsbn(String isbn) {
		this.isbn = isbn;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public float getPrice() {
		return price;
	}
	public void setPrice(float price) {
		this.price = price;
	}

	public String getPress() {
		return press;
	}

	public void setPress(String press) {
		this.press = press;
	}
}